package com.qyhl.module_practice.study;

import com.qyhl.webtv.commonlib.entity.news.SpecialDetailBean;
import com.qyhl.webtv.commonlib.entity.news.UnionBean;

import java.util.List;

public interface PracticeStudyContract {
    interface PracticeStudyView {
        void setSection(List<UnionBean> beanList);

        void setData(List<SpecialDetailBean> beanList);

        void setError(String msg);
    }

    interface PracticeStudyPresenter {
        void getSectionList(String sectionId, boolean isNew);

        void getData(String sectionId);

        void setSection(List<UnionBean> beanList);

        void setData(List<SpecialDetailBean> beanList);

        void setError(String msg);
    }

    interface PracticeStudyModel {
        void getSectionList(String sectionId, boolean isNew);

        void getData(String sectionId);
    }
}
